<?php
/*
 * @Description: 
 * @Author: Simon
 * @Date: 2020-07-12 18:04:02
 * @LastEditTime: 2020-07-12 18:04:50
 * @LastEditors: Simon
 */ 
/**
 * Verifier
 * PHP version 5
 *
 * @category Class
 * @package  LuckIn
 * @author   Simon
 * @link     https://pay.weixin.qq.com
 */

namespace LuckIn\GuzzleMiddleware\Auth;

/**
 * Interface abstracting Verifier.
 *
 * @package  LuckIn
 * @author   Simon
 */
interface Verifier
{

    /**
     * Verify signature of message
     *
     * @param string $serialNumber  certificate serial number
     * @param string $message       message to verify
     * @param string $signautre     signature of message
     *
     * @return bool
     */
    public function verify($serialNumber, $message, $signature);
}
